Total Complexity | 17 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 147 |
Lines of code | 60 |
Logical lines of code | 32 |
Comment lines | 48 |
Methods | 14 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
__toString() | 68 | 2 | 7 | |
count() | 70 | 2 | 6 | |
sort_by() | 73 | 2 | 5 | |
__construct() | 75 | 1 | 4 | |
add() | 73 | 1 | 5 | |
get_data() | 82 | 1 | 3 | |
get_depth() | 82 | 1 | 3 | |
get_id() | 82 | 1 | 3 | |
get_parent() | 82 | 1 | 3 | |
set_data() | 77 | 1 | 4 | |
set_depth() | 77 | 1 | 4 | |
set_id() | 77 | 1 | 4 | |
set_parent() | 73 | 1 | 5 | |
set_tree() | 77 | 1 | 4 |